package com.zhoupu.mqtt.core.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * MQTT链接参数配置类
 *
 * @author Zhouyongli
 * @version 2024/09/12 11:34
 **/
@Data
@Configuration
@ConfigurationProperties(prefix = "mqtt")
public class MqttPropertyConfig {

    private String userName;


    private String password;

    private String[] serverUri;

    private int keepAlive;

    private Boolean autoReconnect;

}
